
package com.eshop.we.business.impl;

import com.alibaba.dubbo.config.annotation.Reference;
import com.baomidou.mybatisplus.plugins.Page;
import com.eshop.we.business.BaseBusinessImpl;
import com.eshop.we.business.SchoolBusiness;
import com.eshop.we.school.api.SchoolService;
import com.eshop.we.school.dto.SchoolDto;
import com.eshop.we.school.entity.School;
import org.springframework.stereotype.Service;

/**
 * @author wangzhanguo
 * @create 2018-06-04 15:31
 **/
@Service
public class SchoolBusinessImpl extends BaseBusinessImpl<School,SchoolService> implements SchoolBusiness{
    @Reference
    private SchoolService schoolService;

    @Override
    public Page selectSchoolPage(Page<SchoolDto> page, String schoolName) {
        return schoolService.selectSchoolPage( page,schoolName);
    }
}

